//
//  UploadDataManager.h
//  MeiDa
//
//  Created by zfc on 2019/10/30.
//  Copyright © 2019年 depelec. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AliyunOSSiOS/AliyunOSSiOS.h>

NS_ASSUME_NONNULL_BEGIN
@interface UploadDataManager : NSObject

+(instancetype)shared;

@property (nonatomic, strong) OSSClient *client;
@property (nonatomic, strong) NSDictionary *configData;
@property (nonatomic, copy) NSString *type;

//- (void) setClientWithType:(NSString *)type;

//图片上传
- (void) uploadImages:(NSArray *)images success:(void (^)(NSMutableArray *uploadArr))success;

- (void) uploadVideo:(NSData *)data success:(void (^)(NSString *videoUrl))success;

@end

NS_ASSUME_NONNULL_END
